<?php
namespace Tbf\Bundle\PackageBundle\Command;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Tbf\Bundle\TbfBundle\Command\TbfCommand;

class DumpEntityCommand extends TbfCommand
{
    protected function configure()
    {
        $this
            ->setName('tbf:package:entity:dump')
            ->setDescription('dump entity from tbf_package');
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->get('tbf_package.manager')->dumpEntity($output);
    }
}
